3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
You use a light data structure to get or set basic information about a light source of any kind. A light data structure is defined by the TQ3LightData data type.
typedef struct TQ3LightData {
TQ3Boolean isOn;
float brightness;
TQ3ColorRGB color;
} TQ3LightData;
Previous | QD3D Book | Overview | Chapter Contents | Next |